package com.moyangfenghun.javabase.common;

/**
 * @author 江南烟雨时
 * @date 2020/12/3 20:59
 */
public final class ApiCode {
    /**
     * 操作成功
     */
    public static final int SUCCESS = 200 ;
    /**
     * 操作失败
     */
    public static final int FAIL = 500 ;
    /**
     * 没有访问权限
     */
    public static final int NOT_PERMISSION = 403 ;
    /**
     * 请求地址错误,找不到路径
     */
    public static final int NOT_FOUND = 404 ;
    /**
     * 未经授权无法访问
     */
    public static final int UNAUTHORIZED = 401 ;
    /**
     * 系统异常
     */
    public static final int SYSTEM_EXCEPTION = 5000 ;
    /**
     * 系统异常
     */
    public static final int PARAMETER_EXCEPTION = 5001 ;
    /**
     * 登陆TOKEN失效
     */
    public static final int TOKEN_INVALID =  4000;

}
